#!/bin/sh -e

for p in *.patch; do
	patch -p1 -i $p
done

autoreconf -fi

./configure \
	--prefix=/usr
make
make DESTDIR="$1" install
